<li>
<span class="title"><%= link_to item.title,item %></span>
<%= "<span class='state'>#{item.comments_count}</span>" if state %>
<span class="time">
  <%=item.created_at.strftime("%y-%m-%d") %>
</span>

</li>

